<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no">
  <meta name="description" content="API docs for the QChatMessage class from the nim_core_v2 library, for the Dart programming language.">
  <title>QChatMessage class - nim_core_v2 library - Dart API</title>


  
  <link rel="preconnect" href="https://fonts.gstatic.com">
  <link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0" rel="stylesheet">
  
  <link rel="stylesheet" href="../static-assets/github.css?v1">
  <link rel="stylesheet" href="../static-assets/styles.css?v1">
  <link rel="icon" href="../static-assets/favicon.png?v1">
  
</head>

<body data-base-href="../" data-using-base-href="false" class="light-theme">
<div id="overlay-under-drawer"></div>
<header id="title">
  <span id="sidenav-left-toggle" class="material-symbols-outlined" role="button" tabindex="0">menu</span>
  <ol class="breadcrumbs gt-separated dark hidden-xs">
    <li><a href="../index.html">nim_core_v2</a></li>
    <li><a href="../nim_core_v2/nim_core_v2-library.html">nim_core.dart</a></li>
    <li class="self-crumb">QChatMessage class</li>
  </ol>
  <div class="self-name">QChatMessage</div>
  <form class="search navbar-right" role="search">
    <input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  </form>
  <div class="toggle" id="theme-button" title="Toggle brightness">
    <label for="theme">
      <input type="checkbox" id="theme" value="light-theme">
      <span id="dark-theme-button" class="material-symbols-outlined">
        dark_mode
      </span>
      <span id="light-theme-button" class="material-symbols-outlined">
        light_mode
      </span>
    </label>
  </div>
</header>
<main>
<div
    id="dartdoc-main-content"
    class="main-content"
    data-above-sidebar="nim_core_v2&#47;nim_core_v2-library-sidebar.html"
    data-below-sidebar="nim_core_v2&#47;QChatMessage-class-sidebar.html">
    <div>
<h1><span class="kind-class">QChatMessage</span> class 
 
</h1></div>

    


    <section>
      <dl class="dl-horizontal">
        

        
        


        
        
  <dt>Annotations</dt>
  <dd>
    <ul class="annotation-list clazz-relationships">
        <li>@JsonSerializable(explicitToJson: true)</li>
    </ul>
  </dd>


      </dl>
    </section>

    
  <section class="summary offset-anchor" id="constructors">
    <h2>Constructors</h2>
    <dl class="constructor-summary-list">
        <dt id="QChatMessage" class="callable">
          <span class="name"><a href="../nim_core_v2/QChatMessage/QChatMessage.html">QChatMessage</a></span><span class="signature">({<span class="parameter" id="-param-qChatChannelId"><span>required</span> <span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span> <span class="parameter-name">qChatChannelId</span>, </span><span class="parameter" id="-param-qChatServerId"><span>required</span> <span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span> <span class="parameter-name">qChatServerId</span>, </span><span class="parameter" id="-param-subType"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a>?</span> <span class="parameter-name">subType</span>, </span><span class="parameter" id="-param-serverStatus"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a>?</span> <span class="parameter-name">serverStatus</span>, </span><span class="parameter" id="-param-pushEnable"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a>?</span> <span class="parameter-name">pushEnable</span>, </span><span class="parameter" id="-param-pushContent"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a>?</span> <span class="parameter-name">pushContent</span>, </span><span class="parameter" id="-param-needPushNick"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a>?</span> <span class="parameter-name">needPushNick</span>, </span><span class="parameter" id="-param-needBadge"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a>?</span> <span class="parameter-name">needBadge</span>, </span><span class="parameter" id="-param-mentionedRoleIdList"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span>&gt;</span>?</span> <span class="parameter-name">mentionedRoleIdList</span>, </span><span class="parameter" id="-param-mentionedAll"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a>?</span> <span class="parameter-name">mentionedAll</span>, </span><span class="parameter" id="-param-mentionedAccidList"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>&gt;</span>?</span> <span class="parameter-name">mentionedAccidList</span>, </span><span class="parameter" id="-param-historyEnable"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a>?</span> <span class="parameter-name">historyEnable</span>, </span><span class="parameter" id="-param-env"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a>?</span> <span class="parameter-name">env</span>, </span><span class="parameter" id="-param-antiSpamOption"><span class="type-annotation"><a href="../nim_core_v2/QChatMessageAntiSpamOption-class.html">QChatMessageAntiSpamOption</a>?</span> <span class="parameter-name">antiSpamOption</span>, </span><span class="parameter" id="-param-uuid"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a>?</span> <span class="parameter-name">uuid</span>, </span><span class="parameter" id="-param-updateTime"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a>?</span> <span class="parameter-name">updateTime</span>, </span><span class="parameter" id="-param-time"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a>?</span> <span class="parameter-name">time</span>, </span><span class="parameter" id="-param-content"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a>?</span> <span class="parameter-name">content</span>, </span><span class="parameter" id="-param-attachment"><span class="type-annotation">QChatNIMMessageAttachment?</span> <span class="parameter-name">attachment</span>, </span><span class="parameter" id="-param-resend"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a>?</span> <span class="parameter-name">resend</span>, </span><span class="parameter" id="-param-antiSpamResult"><span class="type-annotation"><a href="../nim_core_v2/QChatMessageAntiSpamResult-class.html">QChatMessageAntiSpamResult</a>?</span> <span class="parameter-name">antiSpamResult</span>, </span><span class="parameter" id="-param-attachStatus"><span class="type-annotation"><a href="../nim_core_v2/NIMMessageAttachmentStatus.html">NIMMessageAttachmentStatus</a>?</span> <span class="parameter-name">attachStatus</span>, </span><span class="parameter" id="-param-callbackExtension"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a>?</span> <span class="parameter-name">callbackExtension</span>, </span><span class="parameter" id="-param-direct"><span class="type-annotation"><a href="../nim_core_v2/NIMMessageDirection.html">NIMMessageDirection</a>?</span> <span class="parameter-name">direct</span>, </span><span class="parameter" id="-param-fromAccount"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a>?</span> <span class="parameter-name">fromAccount</span>, </span><span class="parameter" id="-param-fromClientType"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a>?</span> <span class="parameter-name">fromClientType</span>, </span><span class="parameter" id="-param-fromNick"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a>?</span> <span class="parameter-name">fromNick</span>, </span><span class="parameter" id="-param-localExtension"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/Map-class.html">Map</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>, <span class="type-parameter">dynamic</span>&gt;</span>?</span> <span class="parameter-name">localExtension</span>, </span><span class="parameter" id="-param-msgIdServer"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a>?</span> <span class="parameter-name">msgIdServer</span>, </span><span class="parameter" id="-param-msgType"><span class="type-annotation"><a href="../nim_core_v2/NIMMessageType.html">NIMMessageType</a>?</span> <span class="parameter-name">msgType</span>, </span><span class="parameter" id="-param-pushPayload"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/Map-class.html">Map</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>, <span class="type-parameter">dynamic</span>&gt;</span>?</span> <span class="parameter-name">pushPayload</span>, </span><span class="parameter" id="-param-remoteExtension"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/Map-class.html">Map</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>, <span class="type-parameter">dynamic</span>&gt;</span>?</span> <span class="parameter-name">remoteExtension</span>, </span><span class="parameter" id="-param-replyRefer"><span class="type-annotation"><a href="../nim_core_v2/QChatMessageRefer-class.html">QChatMessageRefer</a>?</span> <span class="parameter-name">replyRefer</span>, </span><span class="parameter" id="-param-rootThread"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a>?</span> <span class="parameter-name">rootThread</span>, </span><span class="parameter" id="-param-routeEnable"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a>?</span> <span class="parameter-name">routeEnable</span>, </span><span class="parameter" id="-param-status"><span class="type-annotation"><a href="../nim_core_v2/NIMMessageStatus-class.html">NIMMessageStatus</a>?</span> <span class="parameter-name">status</span>, </span><span class="parameter" id="-param-threadRefer"><span class="type-annotation"><a href="../nim_core_v2/QChatMessageRefer-class.html">QChatMessageRefer</a>?</span> <span class="parameter-name">threadRefer</span>, </span><span class="parameter" id="-param-updateContent"><span class="type-annotation"><a href="../nim_core_v2/QChatMsgUpdateContent-class.html">QChatMsgUpdateContent</a>?</span> <span class="parameter-name">updateContent</span>, </span><span class="parameter" id="-param-updateOperatorInfo"><span class="type-annotation"><a href="../nim_core_v2/QChatMsgUpdateInfo-class.html">QChatMsgUpdateInfo</a>?</span> <span class="parameter-name">updateOperatorInfo</span></span>})</span>
        </dt>
        <dd>
          
        </dd>
        <dt id="QChatMessage.fromJson" class="callable">
          <span class="name"><a href="../nim_core_v2/QChatMessage/QChatMessage.fromJson.html">QChatMessage.fromJson</a></span><span class="signature">(<span class="parameter" id="fromJson-param-json"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/Map-class.html">Map</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>, <span class="type-parameter">dynamic</span>&gt;</span></span> <span class="parameter-name">json</span></span>)</span>
        </dt>
        <dd>
          
            <div class="constructor-modifier features">factory</div>
        </dd>
    </dl>
  </section>
    
  <section
      class="summary offset-anchor"
      id="instance-properties">
    <h2>Properties</h2>
    <dl class="properties">
        <dt id="antiSpamOption" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/antiSpamOption.html">antiSpamOption</a></span>
  <span class="signature">&#8596; <a href="../nim_core_v2/QChatMessageAntiSpamOption-class.html">QChatMessageAntiSpamOption</a>?</span>
  

</dt>
<dd>
  消息反垃圾配置选项
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="antiSpamResult" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/antiSpamResult.html">antiSpamResult</a></span>
  <span class="signature">&#8596; <a href="../nim_core_v2/QChatMessageAntiSpamResult-class.html">QChatMessageAntiSpamResult</a>?</span>
  

</dt>
<dd>
  反垃圾结果，此结果仅对文本和图片有效
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="attachment" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/attachment.html">attachment</a></span>
  <span class="signature">&#8596; QChatNIMMessageAttachment?</span>
  

</dt>
<dd>
  消息附件对象。仅当MsgType为非text时有效
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="attachStatus" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/attachStatus.html">attachStatus</a></span>
  <span class="signature">&#8596; <a href="../nim_core_v2/NIMMessageAttachmentStatus.html">NIMMessageAttachmentStatus</a>?</span>
  

</dt>
<dd>
  消息附件接收/发送状态
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="callbackExtension" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/callbackExtension.html">callbackExtension</a></span>
  <span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a>?</span>
  

</dt>
<dd>
  第三方回调回来的自定义扩展字段
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="content" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/content.html">content</a></span>
  <span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a>?</span>
  

</dt>
<dd>
  消息body
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="direct" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/direct.html">direct</a></span>
  <span class="signature">&#8596; <a href="../nim_core_v2/NIMMessageDirection.html">NIMMessageDirection</a>?</span>
  

</dt>
<dd>
  消息方向：发出去的消息还是接收到的消息
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="env" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/env.html">env</a></span>
  <span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a>?</span>
  

</dt>
<dd>
  环境变量
用于指向不同的抄送，第三方回调等配置
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="fromAccount" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/fromAccount.html">fromAccount</a></span>
  <span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a>?</span>
  

</dt>
<dd>
  消息发送者的accid
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="fromClientType" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/fromClientType.html">fromClientType</a></span>
  <span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a>?</span>
  

</dt>
<dd>
  消息发送者的客户端类型
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="fromNick" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/fromNick.html">fromNick</a></span>
  <span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a>?</span>
  

</dt>
<dd>
  消息发送者昵称
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="hashCode" class="property inherited">
  <span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/hashCode.html">hashCode</a></span>
  <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span>
  

</dt>
<dd class="inherited">
  The hash code for this object.
  <div class="features"><span class="feature">no setter</span><span class="feature">inherited</span></div>

</dd>

        <dt id="historyEnable" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/historyEnable.html">historyEnable</a></span>
  <span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a>?</span>
  

</dt>
<dd>
  该消息是否存储云端历史,默认true
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="localExtension" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/localExtension.html">localExtension</a></span>
  <span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/Map-class.html">Map</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>, <span class="type-parameter">dynamic</span>&gt;</span>?</span>
  

</dt>
<dd>
  本地扩展字段（仅本地有效）
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="mentionedAccidList" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/mentionedAccidList.html">mentionedAccidList</a></span>
  <span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>&gt;</span>?</span>
  

</dt>
<dd>
  被@的人的accid列表
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="mentionedAll" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/mentionedAll.html">mentionedAll</a></span>
  <span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a>?</span>
  

</dt>
<dd>
  是否@所有人
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="mentionedRoleIdList" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/mentionedRoleIdList.html">mentionedRoleIdList</a></span>
  <span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span>&gt;</span>?</span>
  

</dt>
<dd>
  被@的身份组的roleid列表
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="msgIdServer" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/msgIdServer.html">msgIdServer</a></span>
  <span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a>?</span>
  

</dt>
<dd>
  消息服务端ID
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="msgType" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/msgType.html">msgType</a></span>
  <span class="signature">&#8596; <a href="../nim_core_v2/NIMMessageType.html">NIMMessageType</a>?</span>
  

</dt>
<dd>
  消息类型
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="needBadge" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/needBadge.html">needBadge</a></span>
  <span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a>?</span>
  

</dt>
<dd>
  是否需要消息计数,默认true
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="needPushNick" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/needPushNick.html">needPushNick</a></span>
  <span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a>?</span>
  

</dt>
<dd>
  是否需要推送昵称,默认true
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="pushContent" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/pushContent.html">pushContent</a></span>
  <span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a>?</span>
  

</dt>
<dd>
  自定义推送文案
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="pushEnable" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/pushEnable.html">pushEnable</a></span>
  <span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a>?</span>
  

</dt>
<dd>
  是否需要推送,默认true
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="pushPayload" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/pushPayload.html">pushPayload</a></span>
  <span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/Map-class.html">Map</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>, <span class="type-parameter">dynamic</span>&gt;</span>?</span>
  

</dt>
<dd>
  第三方自定义的推送属性
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="qChatChannelId" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/qChatChannelId.html">qChatChannelId</a></span>
  <span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span>
  

</dt>
<dd>
  消息所属的channelId
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="qChatServerId" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/qChatServerId.html">qChatServerId</a></span>
  <span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span>
  

</dt>
<dd>
  消息所属的serverId
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="remoteExtension" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/remoteExtension.html">remoteExtension</a></span>
  <span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/Map-class.html">Map</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>, <span class="type-parameter">dynamic</span>&gt;</span>?</span>
  

</dt>
<dd>
  消息自定义ext
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="replyRefer" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/replyRefer.html">replyRefer</a></span>
  <span class="signature">&#8596; <a href="../nim_core_v2/QChatMessageRefer-class.html">QChatMessageRefer</a>?</span>
  

</dt>
<dd>
  被回复消息引用
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="resend" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/resend.html">resend</a></span>
  <span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a>?</span>
  

</dt>
<dd>
  是否重发
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="rootThread" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/rootThread.html">rootThread</a></span>
  <span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a>?</span>
  

</dt>
<dd>
  是否是根消息
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="routeEnable" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/routeEnable.html">routeEnable</a></span>
  <span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a>?</span>
  

</dt>
<dd>
  是否需要抄送,默认true
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="runtimeType" class="property inherited">
  <span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html">runtimeType</a></span>
  <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Type-class.html">Type</a></span>
  

</dt>
<dd class="inherited">
  A representation of the runtime type of the object.
  <div class="features"><span class="feature">no setter</span><span class="feature">inherited</span></div>

</dd>

        <dt id="serverStatus" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/serverStatus.html">serverStatus</a></span>
  <span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a>?</span>
  

</dt>
<dd>
  服务器消息状态
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="status" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/status.html">status</a></span>
  <span class="signature">&#8596; <a href="../nim_core_v2/NIMMessageStatus-class.html">NIMMessageStatus</a>?</span>
  

</dt>
<dd>
  消息接收/发送状态。
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="subType" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/subType.html">subType</a></span>
  <span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a>?</span>
  

</dt>
<dd>
  消息子类型
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="threadRefer" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/threadRefer.html">threadRefer</a></span>
  <span class="signature">&#8596; <a href="../nim_core_v2/QChatMessageRefer-class.html">QChatMessageRefer</a>?</span>
  

</dt>
<dd>
  根消息引用
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="time" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/time.html">time</a></span>
  <span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a>?</span>
  

</dt>
<dd>
  消息发送时间
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="updateContent" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/updateContent.html">updateContent</a></span>
  <span class="signature">&#8596; <a href="../nim_core_v2/QChatMsgUpdateContent-class.html">QChatMsgUpdateContent</a>?</span>
  

</dt>
<dd>
  消息更新内容，消息被修改/撤回/删除 才有值，否则为null
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="updateOperatorInfo" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/updateOperatorInfo.html">updateOperatorInfo</a></span>
  <span class="signature">&#8596; <a href="../nim_core_v2/QChatMsgUpdateInfo-class.html">QChatMsgUpdateInfo</a>?</span>
  

</dt>
<dd>
  消息更新操作者的信息，消息被修改/撤回/删除 才有值，否则为null
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="updateTime" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/updateTime.html">updateTime</a></span>
  <span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a>?</span>
  

</dt>
<dd>
  消息更新时间
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

        <dt id="uuid" class="property">
  <span class="name"><a href="../nim_core_v2/QChatMessage/uuid.html">uuid</a></span>
  <span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a>?</span>
  

</dt>
<dd>
  消息的uuid, 该域在生成消息时即会填上
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

    </dl>
  </section>

    
  <section
      class="summary offset-anchor"
      id="instance-methods">
    <h2>Methods</h2>
    <dl class="callables">
        <dt id="noSuchMethod" class="callable inherited">
  <span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html">noSuchMethod</a></span><span class="signature">(<wbr><span class="parameter" id="noSuchMethod-param-invocation"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/Invocation-class.html">Invocation</a></span> <span class="parameter-name">invocation</span></span>)
    <span class="returntype parameter">&#8594; dynamic</span>
  </span>
  

</dt>
<dd class="inherited">
  Invoked when a nonexistent method or property is accessed.
  <div class="features"><span class="feature">inherited</span></div>

</dd>

        <dt id="toJson" class="callable">
  <span class="name"><a href="../nim_core_v2/QChatMessage/toJson.html">toJson</a></span><span class="signature">(<wbr>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Map-class.html">Map</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>, <span class="type-parameter">dynamic</span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  
  

</dd>

        <dt id="toString" class="callable inherited">
  <span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/toString.html">toString</a></span><span class="signature">(<wbr>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>
  </span>
  

</dt>
<dd class="inherited">
  A string representation of this object.
  <div class="features"><span class="feature">inherited</span></div>

</dd>

    </dl>
  </section>
    
  <section
      class="summary offset-anchor inherited"
      id="operators">
    <h2>Operators</h2>
    <dl class="callables">
        <dt id="operator ==" class="callable inherited">
  <span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html">operator ==</a></span><span class="signature">(<wbr><span class="parameter" id="==-param-other"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/Object-class.html">Object</a></span> <span class="parameter-name">other</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a></span>
  </span>
  

</dt>
<dd class="inherited">
  The equality operator.
  <div class="features"><span class="feature">inherited</span></div>

</dd>

    </dl>
  </section>
    
    
    

  </div> <!-- /.main-content -->
  <div id="dartdoc-sidebar-left" class="sidebar sidebar-offcanvas-left">
    <!-- The search input and breadcrumbs below are only responsively visible at low resolutions. -->
<header id="header-search-sidebar" class="hidden-l">
  <form class="search-sidebar" role="search">
    <input type="text" id="search-sidebar" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  </form>
</header>
<ol class="breadcrumbs gt-separated dark hidden-l" id="sidebar-nav">
    <li><a href="../index.html">nim_core_v2</a></li>
    <li><a href="../nim_core_v2/nim_core_v2-library.html">nim_core_v2</a></li>
    <li class="self-crumb">QChatMessage class</li>
</ol>

    <h5>nim_core_v2 library</h5>
    <div id="dartdoc-sidebar-left-content"></div>
  </div>
  <div id="dartdoc-sidebar-right" class="sidebar sidebar-offcanvas-right">
  </div><!--/.sidebar-offcanvas-->
</main>
<footer>
  <span class="no-break">
    nim_core_v2
      10.9.2-ohos-beta
  </span>
  
</footer>


<script src="../static-assets/highlight.pack.js?v1"></script>
<script src="../static-assets/docs.dart.js"></script>

</body>
</html>

